<template>
  <div class="hello">
    <span class="welcome">Welcome to Your Vue.js App</span>
    <router-link to="/index">
      <mt-button class="btn" type="primary">进入首页</mt-button>
    </router-link>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        msg: 'Welcome to Your Vue.js App',
        selected: ''
      }
    },
    methods: {
      btn () {
      }
    },
    mounted: function () {
    }
  }
</script>

<style scoped>
  .hello {
    width: 10.0rem;
    padding: 0.266667rem;
    box-sizing: border-box;
  }
  .welcome{
    display: block;
    margin: 5.666667rem 0 1rem 0;
  }
  .btn{
    width: 50%;
  }
</style>